package com.youdoneed.community.forum.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.youdoneed.community.forum.entity.Forumreport;
@Mapper
public interface ForumreportMapper {
    int deleteByPrimaryKey(String forumReportId);

    int insert(Forumreport record);

    int insertSelective(Forumreport record);

    Forumreport selectByPrimaryKey(String forumReportId);

    int updateByPrimaryKeySelective(Forumreport record);

    int updateByPrimaryKey(Forumreport record);
    
    List<Forumreport> findForumreportByMsgId(String forumMsgId);
    
    List<Forumreport> getSelectReportForumMsg(@Param("forumReportReason")String forumReportReason,@Param("createDateS")String createDateS,@Param("createDateE")String createDateE);

    Integer getReportMsgsCount();
}